package com.winsdom.mapper;

import com.winsdom.dto.CategoryTreeNodes;
import com.winsdom.dto.FeecategoryThreeNodes;
import com.winsdom.dto.contract.ExpenditureDto;
import com.winsdom.entity.Expenditure;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winsdom.vo.contract.ExpenditureVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 费项表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-05-12
 */
@Mapper
public interface ExpenditureMapper extends BaseMapper<Expenditure> {

    List<ExpenditureVo> selectListForParams(ExpenditureDto expenditureDto);

    List<com.winsdom.vo.expenditure.ExpenditureVo> selectListForParams2(com.winsdom.dto.expenditure.ExpenditureDto expenditureDto);

    List<FeecategoryThreeNodes> selectForFeeCategoryNodes(@Param("parentId") Long parentId);
}
